<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>大旺福商家中心</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta name="description" content="">
<meta name="author" content="">
<link href="/assets/wechat/member/css/xk-style.css" rel="stylesheet">
</head>

<body>
	<div class="logo"><h1>商家中心</h1></div>
<section class="home clearfix">
	<ul class="icon-items clearfix">
		<li class="icon-home"><a target="_blank" href="#" id="scanQrcode"><i></i>扫码验券</a></li>
      	<li class="icon-default"><a href="/wechat/member/count_list"><i></i>帐户纪录</a></li>
      	<li class="icon-me" id="remove"><a href="javascript:void(0);"><i></i>解除绑定</a></li>
	</ul>
</section>
{include file="wechat/public/footer.html"}
<script type="text/javascript">
{literal}
	$(document).ready(function(){
		$('#scanQrcode').on("tap",function(e){
			e.preventDefault();
			e.stopPropagation();
			wx.scanQRCode({
			    needResult: 0, // 默认为0，扫描结果由微信处理，1则直接返回扫描结果，
			    scanType: ["qrCode"], // 可以指定扫二维码还是一维码，默认二者都有
			    success: function (res) {
			    		var result = res.resultStr; // 当needResult 为 1 时，扫码返回的结果
				}
			
			});
		});
		$('#remove').on("tap",function(e){
			e.preventDefault();
			e.stopPropagation();

		});		
	});
{/literal}	
</script>
</body>
</html>